<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <link href="/public/css/abc.css" rel="stylesheet" type="text/css" />
    <script src="/public/js/jquery.js">
    </script>
</head>
<body>
        springboot  - > spring mvc - >
<script>
    $(document).ready(function (){
        $.ajax({
            url:"../../showDept"
            ,type:'get'
            ,success:function (d){
                document.write(JSON.stringify(d));
            }
        });
    });
</script>
</body>
</html>